import 'package:color_dart/RgbaColor.dart';
import "package:flutter/material.dart";

class PersonalInfo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('个人资料')),
      body: Container(
        color: Colors.white,
        child: Column(
          children: [
            Divider(
              height: 1.0,
              indent: 0.0,
              color: rgba(242, 242, 242, 1),
            ),
            Container(
              padding: EdgeInsets.symmetric(horizontal: 20, vertical: 0),
              child: Column(
                children: [
                  ListTile(
                    title: Text(
                      "头像",
                      style: TextStyle(
                        color: rgba(136, 135, 135, 1),
                      ),
                    ),
                    contentPadding:
                        EdgeInsets.symmetric(horizontal: 0, vertical: 21),
                    trailing: SizedBox(
                      width: 82,
                      child: Row(
                        children: [
                          ClipRRect(
                            borderRadius: new BorderRadius.circular(60),
                            child: Image.asset(
                              'lib/assets/images/order/order1.png',
                              width: 60,
                              height: 80,
                              fit: BoxFit.cover,
                            ),
                          ),
                          Padding(
                            padding: EdgeInsets.only(left: 10),
                            child: Icon(
                              Icons.arrow_forward_ios_sharp,
                              size: 12,
                              color: rgba(163, 163, 163, 1),
                            ),
                          )
                        ],
                      ),
                    ),
                  ),
                  Divider(
                    height: 1.0,
                    indent: 0.0,
                    color: rgba(242, 242, 242, 1),
                  ),
                  ListTile(
                    contentPadding:
                        EdgeInsets.symmetric(horizontal: 0, vertical: 8),
                    title: Text(
                      "昵称",
                      style: TextStyle(
                        color: rgba(136, 135, 135, 1),
                      ),
                    ),
                    trailing: SizedBox(
                      width: 68,
                      child: Row(
                        children: [
                          Text(
                            '未填写',
                            style: TextStyle(
                              color: rgba(136, 135, 135, 1),
                            ),
                          ),
                          Padding(
                            padding: const EdgeInsets.only(left: 10),
                            child: Icon(
                              Icons.arrow_forward_ios_sharp,
                              size: 12,
                              color: rgba(163, 163, 163, 1),
                            ),
                          )
                        ],
                      ),
                    ),
                  ),
                  Divider(
                    height: 1.0,
                    indent: 0.0,
                    color: rgba(242, 242, 242, 1),
                  ),
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}
